#! /usr/bin/env python
# -*- coding: utf-8 -*-

import math


def float_equal(a, b, precision=0.00001):
    return math.fabs(a-b) <= precision
